package com.zoweunion.mechanic.service.app;

import com.zoweunion.mechanic.util.MyException;

import java.util.List;
import java.util.Map;

/**
 * 大屏数据service
 * @author rentianfeng
 */
public interface ScreenDataService {
    /**
     * 获取全部车辆实时位置
     * @param reqMap
     * @return
     * @throws MyException
     */
    List<Map<String, Object>> getRealTimeLocation(Map<String, Object> reqMap) throws MyException;

    /**
     * 获取全部车辆前2条历史数据
     * @param reqMap
     * @return
     * @throws MyException
     */
    List<Map<String, Object>> getRealTimeHistoryLocation(Map<String, Object> reqMap) throws MyException;
    /**
     * 获取全部车辆实时位置
     * @param reqMap
     * @return
     * @throws MyException
     */
    List<Map<String, Object>> getRealTimeLocationNew(Map<String, Object> reqMap) throws MyException;

    /**
     * 获取全部车辆前2条历史数据
     * @param reqMap
     * @return
     * @throws MyException
     */
    List<Map<String, Object>> getRealTimeHistoryLocationNew(Map<String, Object> reqMap) throws MyException;

    /**
     * 获取全部车辆位置数据
     * @return
     * @throws MyException
     */
    List<Map<String, Object>> getRealTimeLocationAllCar() throws MyException;

    /**
     * 获取数据大屏的数据
     * @return
     * @throws MyException
     */
    Map<String, Object> getScreenData(Map<String, Object> reqMap) throws MyException;
}
